package org.dromara.system.domain.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;
import org.dromara.bean.domain.HisMemberAddress;
import org.dromara.bean.domain.vo.HisGoodsDetailsVo;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class GoodsOrderExcel {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @ExcelProperty(value = "订单号")
    private String orderNumber;
    /**
     * 会员名称
     */
    @ExcelProperty(value = "会员名称")
    private String memberName;

    /**
     * 收货地址
     */
    @ExcelProperty(value = "收货地址")
    private String fullAddress;

    /**
     * 总金额
     */
    @ExcelProperty(value = "总金额")
    private BigDecimal totalPrice;

    /**
     * 支付金额
     */
    @ExcelProperty(value = "支付金额")
    private BigDecimal payPrice;


    /**
     * 快递单号
     */
    @ExcelProperty(value = "快递单号")
    private String logisticsNo;
    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "commodity_status")
    private String status;


    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 支付时间
     */
    @ExcelProperty(value = "支付时间")
    private Date payTime;


    /**
     * 发货时间
     */
    @ExcelProperty(value = "发货时间")
    private Date deliveryTime;


    /**
     * 商品详情
     */
    @ExcelProperty(value = "商品详情")
    private String goods;

}
